package com.test.proxy_pattern.staticproxy;

public class Car2 implements ICar {

    private ICar iCar;

    public Car2(ICar iCar) {
        this.iCar = iCar;
    }

    @Override
    public void run() {
        System.out.println("记时开始！！！！！");
        iCar.run();
        System.out.println("记时结束！！！！！");
    }
}
